<template>
  <div class="flex justify-center">
    <TopoRender :config-data="configData" />
  </div>
</template>

<script>

import TopoRender from '@/topo/components/topo/TopoRender'
export default {
  name: 'TopoFullscreen',
  components: {
    TopoRender
  },
  data() {
    return {
      configData: {}
    }
  },
  created() {

  },
  mounted() {
    // 这里只是纯前端项目，实际应该从后台拿取数据
    const temp = localStorage.getItem('topoData')
    const configData = JSON.parse(temp)
    const param = this.$route.query
    configData.deviceId = param.deviceId
    this.configData = configData
  },
  methods: {}
}
</script>

<style lang="scss">

</style>

